package com.huadao.cart_ccs.data.bean;

/*
    ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ 
       Author   :  lixiaodaoaaa
       Date     :  2020-03-10
       Time     :  11:07
    ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
    串口信息  串口名称、波特率
 */
public class SerialPortInfo {

    private String device;
    private int baudrate;


    public SerialPortInfo() {

    }

    public SerialPortInfo(String device, int baudrate) {
        this.device = device;
        this.baudrate = baudrate;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public int getBaudrate() {
        return baudrate;
    }

    public void setBaudrate(int baudrate) {
        this.baudrate = baudrate;
    }

    @Override
    public String toString() {
        return "SerialPortInfo{" + "device='" + device + '\'' + ", baudrate=" + baudrate + '}';
    }
}
